#include <iostream>
#include <cmath>

using namespace std;

int main(){

	long long ret = 0;
	int cnt = 0;
	for(int i = 0; ret <= 100000000; ++i){
		ret += pow(2,i);
		++cnt;
	}
	
	cout << ret << "---" << cnt;
	

	return 0;
}

